package com.ljx.NoteBody.mapper;

import com.ljx.NoteBody.entity.Agree;
import org.springframework.stereotype.Repository;

@Repository
public interface AgreeMapper {

    int queryAgreeByUsernameAndCommentId(String username, Long commentId);

    int saveAgree(Agree agree);

    int updateAgree(Agree agree);

    Agree queryAgree(String username, Long commentId);


}
